package com.zx.inf.sys.dao;

import com.zx.inf.sys.entity.InfServiceInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface InfServiceInfoMapper {
    @Select("SELECT * FROM inf_service_info WHERE id = #{id}")
    InfServiceInfo getServiceInfoById(@Param("id") int id);

    @Select("SELECT * FROM inf_service_info WHERE inf_name = #{infName}")
    InfServiceInfo getServiceInfoByName(@Param("infName") String infName);
}
